package com.sheep.spark.job;

import com.sheep.spark.job.impl.ErrorLogAnalysisJobByFile;
import com.sheep.spark.job.impl.ErrorLogAnalysisJobByNetwork;
import com.sheep.spark.util.SparkSupport;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 16-6-2
 * Time: 下午1:22
 * To change this template use File | Settings | File Templates.
 */
public class JobApp {

    public static void main(String[] args){
        SparkSupport.init();
        NetworkStreamJob netjob = new ErrorLogAnalysisJobByNetwork();
//        FileStreamJob job1 = new ErrorLogAnalysisJobByFile("d:\\test1.txt");
//        FileStreamJob job2 = new ErrorLogAnalysisJobByFile("d:\\test2.txt");
    }
}
